package com.sc.design.proxy;

public class GamePlayer implements IGamePlayer {
    private String name = "";
    private IGamePlayer iGamePlayer=null;
    GamePlayer(IGamePlayer iGamePlayer,String name){
        this.name = name;
        this.iGamePlayer = iGamePlayer;
    }
    @Override
    public void killBoss() {
        System.out.println(name+"kill boss");
    }

    @Override
    public void upgrade() {
        System.out.println(name+"upgrade");
    }

    @Override
    public void login() {
        System.out.println(name+"login");
    }
}
